package com.liruo.learn.spring.mvc.controller.testcontroller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author:liruo
 * @Date:2023-05-03-20:39:17
 * @Desc
 */
@Controller
@RequestMapping("/controller/anno/common")
public class AnnotationCommonController {
    @ResponseBody
    @GetMapping("/bodyValue")
    public String bodyValue(){
        return "bodyValue";
    }
    @GetMapping("/sta")
    public String sta(){
        return "sta";
    }
}
